﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace Core.Sdk.WeiXin.Domain
{
    public class SubmitAudit
    {
        public IList<SubmitAuditItem> item_list { get; set; }
    }

    public class SubmitAuditItem
    {
        public string title { get; set; }
        public string address { get; set; }
        public string tag { get; set; }
        public string first_class { get; set; }
        public string second_class { get; set; }
        public string third_class { get; set; }
        public int first_id { get; set; }
        public int second_id { get; set; }
        public int third_id { get; set; }

    }

    public class GetAuditStatusResponse : BaseResult
    {
        /// <summary>
        /// 审核状态，其中0为审核成功，1为审核失败，2为审核中
        /// </summary>
        public int status { get; set; }
        public string reason { get; set; }
    }
    public class GetLastAuditStatusResponse : BaseResult
    {
        /// <summary>
        /// 审核状态，其中0为审核成功，1为审核失败，2为审核中
        /// </summary>
        public int status { get; set; } = -1;
        public string reason { get; set; }
        public long auditid { get; set; }
    }
    public class SubmitAuditResponse : BaseResult
    {
        public long auditid { get; set; }
    }

    public class OwnerSetting
    {

        public string contact_phone { get; set; } = "";
        /// <summary>
        /// 信息收集方（开发者）的邮箱地址
        /// </summary>
        public string contact_email { get; set; } = "";
        public string contact_weixin { get; set; } = "";
        public string contact_qq { get; set; } = "";

        public string ext_file_media_id { get; set; } = "";
        /// <summary>
        /// 搜集信息有变动时，通知用户的方式
        /// </summary>
        public string notice_method { get; set; } = "公告";
        public string store_expire_timestamp = "30天";
    }   

    public class QueryQuota: BaseResult
    {
        /// <summary>
        /// 剩余提审次数
        /// </summary>
        public int rest { get; set; }
        public int limit { get; set; }
    }
}
